package com.alawn.security.service;

import java.util.List;
import java.util.Set;

import com.alawn.framework.services.security.Resource;
import com.alawn.framework.services.security.User;

/**
 * @Description
 * @auther johnny
 * @create 2019-02-26 14:56
 */
public interface SecurityService {

	public User findByUsername(String username);

	public Set<String> findRoles(String username);

	public Set<String> findPermissions(String username);

	public List<Resource> hasResources();

}
